package data

import (
	"context"
	"github.com/go-kratos/kratos/v2/log"
	"rosebox/internal/biz"
)

type gatewayRepo struct {
	data *Data
	log  *log.Helper
}

// NewGreeterRepo .
func NewGreeterRepo(data *Data, logger log.Logger) biz.GatewayRepo {
	return &gatewayRepo{
		data: data,
		log:  log.NewHelper(logger),
	}
}

func (r *gatewayRepo) ConnGateway(ctx context.Context) (*biz.Gateway, error) {
	return &biz.Gateway{Hello: "hello world"}, nil
}
